package com.ss.android.newmedia.message.dialog;

import android.app.Activity;
import android.content.Context;

import com.ss.android.newmedia.BaseAppData;
import com.ss.android.newmedia.message.h;
import com.ss.android.newmedia.message.i;
import org.json.JSONObject;

public final class m implements com.ss.android.newmedia.message.dialog.a.c {
    private final Context a;
    private final h b;
    private final Activity c;

    public m(Context arg1, h arg2, Activity arg3) {
        this.a = arg1;
        this.b = arg2;
        this.c = arg3;

    }

    public final void a() {
    }

    public final void a(boolean arg9, boolean arg10) {
        long v4 = 2;
        if(arg9) {
            i.a(this.a, "news_alert_auto_dismiss", ((long)this.b.i), v4, false, new JSONObject[0]);
            this.b.v = true;
            i.a(this.c, BaseAppData.inst(), this.b);
        }
        else if(arg10) {
            i.a(this.a, "news_alert_pan_dismiss", ((long)this.b.i), v4, false, new JSONObject[0]);
        }
    }
}

